﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.ObjectModel;
using System.CodeDom.Compiler;

namespace RobotBattle2.Scripting
{
    public sealed class ExpressionCollection : Collection<Expression>
    {
        public void Dump(IndentedTextWriter writer)
        {
            writer.Indent++;
            foreach (var item in this)
            {
                item.Dump(writer);
            }
            writer.Indent--;
        }
    }
}
